package cn.myfirefly.moming.portal.entity;

import static javax.persistence.GenerationType.IDENTITY;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "mm_user_sys")
public class MMUserSys implements java.io.Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -2680711431287046916L;
	private Integer userSysSn;
	private Integer userSn;
	private Integer sysId;

	public MMUserSys() {
	}

	public MMUserSys(Integer userSysSn, Integer userSn, Integer sysId) {
		this.userSysSn = userSysSn;
		this.userSn = userSn;
		this.sysId = sysId;
	}

	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "user_sys_sn", unique = true, nullable = false)
	public Integer getUserSysSn() {
		return this.userSysSn;
	}

	public void setUserSysSn(Integer userSysSn) {
		this.userSysSn = userSysSn;
	}

	@Column(name = "user_sn")
	public Integer getUserSn() {
		return this.userSn;
	}

	public void setUserSn(Integer userSn) {
		this.userSn = userSn;
	}

	@Column(name = "sys_id")
	public Integer getSysId() {
		return sysId;
	}

	public void setSysId(Integer sysId) {
		this.sysId = sysId;
	}

}
